From a598eeabc1c7329f300302e838623aa1848fb6fc Mon Sep 17 00:00:00 2001 From: Ilias Tsitsimpis Date: Sat, 24 Jan 2026 14:41:42 +0200 Subject: [PATCH] Match arm-unknown-linux to armv7-unknown-linux Bug: https://gitlab.haskell.org/ghc/ghc/-/issues/26734 Bug-Debian: https://bugs.debian.org/1124748 Forwarded: Gbp-Pq: Name armhf-target-platform --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index acaadd2f..edc2c07f 100644 --- a/configure.ac +++ b/configure.ac @@ -277,7 +277,9 @@ FP_PROG_SH # Verify that the installed (bootstrap) GHC is capable of generating # code for the requested build platform. -if test "$BuildPlatform" != "$bootstrap_target" +if test "$BuildPlatform" != "$bootstrap_target" \ + && (test "$BuildPlatform" != "arm-unknown-linux" \ + || test "$bootstrap_target" != "armv7-unknown-linux") then echo "This GHC (${WithGhc}) does not generate code for the build platform" echo " GHC target platform : $bootstrap_target" -- 2.30.2